<nav class="navbar navbar-inverse navbar-fixed-top user-nav" role="navigation">
<div class="container">
  <div class="navbar-header navbar-left">
  <div class="navbar-toggle " data-toggle="collapse" data-target="#navbar-collapse"><i class="icon iconfont">&#xe641;</i></div>
    <span class="sr-only">切换导航</span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="{:zanpian_user_url('user/center/index')}">用户中心</a>
  </div>
  <div class="collapse navbar-collapse" id="navbar-collapse">
    <ul class="nav navbar-nav">
      <li><a href="{$root}">网站首页</a></li>
      {volist name="user_nav" id="menu"}
      <li {if condition="$menu.url eq $allurl"}class="active"{/if}><a href="{:zanpian_user_url($menu.url)}">{$menu.name}</a></li>
      {/volist}
      <li><a class="loginout" data="{:zanpian_user_url('home/user/loginout',array('jump'=>1))}" href="javascript:;" target="_self">退出</a></li>
      </ul>
  </div>
</div>
</nav>
<div style="height: 40px;line-height: 40px;font-size: 18px;text-align: center;margin-top: -70px;margin-bottom: 10px;"><a href="{$root}" style="color: #f00">返回网站首页</a></div>
<div class="container {neq name="action" value="index"} hidden-xs{/neq}">
<div class="row">
<div class="user-box mb20 user-notice">
<button type="button" class="close user-notice-close">&times;</button>
{notempty name="userinfo.connectid"}你还没有绑定QQ帐号，<a href="{:zanpian_user_url('user/center/qq')}">点这里绑定</a>{else /}{$userconfig['user_notice']}{/notempty}
</div>
</div>
</div>